package com.example.mysql_mybatis_demo.dao;

import com.example.mysql_mybatis_demo.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mysql_mybatis_demo.vo.GroupingVo;
import com.example.mysql_mybatis_demo.vo.JoinSelectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.w3c.dom.Attr;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品属性
 * 
 * @author kamistoat
 * @email linjianshanke@163.com
 * @date 2022-06-13 10:18:50
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {
    List<AttrEntity> select_inter(Long id);

    List<AttrEntity> select_null_impl();

    List<AttrEntity> select_not_null_impl();

    List<AttrEntity> select_between_impl();

    List<AttrEntity> select_in_impl();

    List<AttrEntity> select_regexp(@Param("prex") String prex);

    List<AttrEntity> select_limit_impl(int i);

    List<JoinSelectVo> select_join_impl();

    List<GroupingVo> select_grouping();

    List<AttrEntity> select_sub_impl();

    BigDecimal select_function_impl(@Param("group_id") long group_id);
}
